<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="万州特色农产品网" />
<meta name="description" content="万州特色农产品网" />
<link href="__PUBLIC__/css/base.css" type="text/css" rel="stylesheet" />
<link href="__PUBLIC__/css/main.css" type="text/css" rel="stylesheet" />
<script src="__PUBLIC__/js/util.js" type="text/javascript"></script>
<title>万州特色农产品网</title>

</head>

<body>

<include file="./Tpl/default/Index/header.html" />

<script> 

		$(document).ready(function(){

			if(contains(window.location.href, "orderColumn/price/orderType/desc/", 0)) {                
                $('#two2_asc').show();
                $('#two2_desc').hide();       
                $('#two3_desc').show();                 
            }else if(contains(window.location.href, "orderColumn/price/orderType/asc/", 0)){            	
            	$('#two2_asc').hide();
                $('#two2_desc').show();    
                $('#two3_desc').show();                      
            }else if(contains(window.location.href, "orderColumn/salesamount/orderType/asc", 0)){      
            	$('#two2_asc').show();      	
            	$('#two3_asc').hide();
                $('#two3_desc').show();                  
            }else if(contains(window.location.href, "orderColumn/salesamount/orderType/desc", 0)){
            	$('#two2_asc').show();            	
            	$('#two3_asc').show();
                $('#two3_desc').hide();                  
            }
            else{
            	$('#two2_asc').show();    			
            	$('#two3_desc').show();     			
            }

						
			
		});


		function setTab(name,cursel,n){
			for(i=1;i<=n;i++){ 
			var menu=document.getElementById(name+i); 
			var con=document.getElementById("con_"+name+"_"+i); 
			menu.className=i==cursel?"hover":""; 
			con.style.display=i==cursel?"block":"none"; 
			} 
		} 
</script>


<div class="w980 clear mT10">
  <div class="content-left fRight line18 w768">
    <div class="bgGray lineBorder p5 line18"><img src="__PUBLIC__/images/yd.png" width="18" height="18"/>当前位置：
    	<a href="__URL__/index" class="orange">产品展示</a> > 
    	<volist id="vo" name="productShowVo">				
				{$vo['name']}
		</volist>    
    	
    </div>
    <div class="lineBorder borderTnone"><table border="0" cellspacing="0" cellpadding="0" class="w95auto line22 pTB10">
  <tr>
    <td width="100" align="right" valign="top" class="pTB10"><strong>选择分类：</strong></td>

 	<td class="pTB10 border-d-b"> 		 		
 		<volist id="vo" name="allList">				
				<a href="__URL__/index/">{$vo['allproduct']}</a>  
		</volist>   
		
		<volist id="vo" name="partList">				
				&nbsp; <a href="__URL__/index/pro_type_id/{$vo['pro_type_id']}/pro_catalog_id/{$vo['pro_catalog_id']}">{$vo['departproduct']}</a> 
		</volist>   
 	</td>
 
  </tr>

</table>
</div>
<div class="Menubox font14 mT10 clear">
        <ul>
          <li  id="two1" onmousemove="setTab('two',1,4)" class="cut">最新上架</li>
          
          <if condition=" $isSearch eq 'search'">				
				<else/>
				<li style="display:none" id="two2_asc" onmousemove="setTab('two',2,4)" class=""><a href="__URL__/index/orderColumn/price/orderType/asc/pro_type_id/{$pro_type_id}/pro_catalog_id/{$pro_catalog_id}">价格</a><span class="font12">▲</span></li>
		        <li style="display:none"id="two2_desc" onmousemove="setTab('two',2,4)" class=""><a href="__URL__/index/orderColumn/price/orderType/desc/pro_type_id/{$pro_type_id}/pro_catalog_id/{$pro_catalog_id}">价格</a><span class="font12">▼</span></li>
		        <li style="display:none" id="two3_asc" onmousemove="setTab('two',3,4)" class=""><a href="__URL__/index/orderColumn/salesamount/orderType/asc/pro_type_id/{$pro_type_id}/pro_catalog_id/{$pro_catalog_id}">销量</a><span class="font12">▲</span></li>
		        <li style="display:none" id="two3_desc" onmousemove="setTab('two',3,4)" class=""><a href="__URL__/index/orderColumn/salesamount/orderType/desc/pro_type_id/{$pro_type_id}/pro_catalog_id/{$pro_catalog_id}">销量</a><span class="font12">▼</span></li>
		  </if>	
          
          
          <!-- <li id="two3" onmousemove="setTab('two',4,4)" class="">好评<span class="font12">▲</span></li> -->
        </ul>
         <!-- <span class="fRight font12 fontGray6 mR10">共找到 <strong class="green">553</strong> 个商品</span> --> 
        <!-- <span class="fRight font12 fontGray6 mR10"><div>{$page}</div></span> -->
      </div>
      
      
      <div class="clear bgWhite">
      		<volist id="vo" name="singleList">				
				 <div class=" w190 bgWhite p1 fLeft mTB10" align="center">
				   <a href="__APP__/ProductDetail/index/id/{$vo['id']}" target="_blank" class="orange"><img src="__PUBLIC__/uploadfiles/files/common/{$vo['imageurl_small']}" width="120" height="120"/></a>
				   <div class="bgGray lineB pTB10">
				     <p><a href="__APP__/ProductDetail/index/id/{$vo['id']}" target="_blank" class="orange">{$vo['name']}</a> </p>
				     <p class="fontGray6">市场价：￥{$vo['market_price']}</p>
				     <p class="fontbold">本站价：￥{$vo['local_price']}</p>
				   </div>		   
			     </div>  
			</volist>   
		   
  	 </div>
  	
  <div class="font12 fontGray6 p20" align="center"><div>{$page}</div></div>
</div>
<div class="content-right line18 fLeft w200">
  <div class="news-box">
    <h4><span class="orange">最新上架</span></h4>
    <div class="p10">
      <ul class="sale-top clear">
     	<volist id="vo" name="lastUpdateList" key="k">	      	
	        <li>
	        	<if condition="($k eq 1)">
					<span class="li1 white">1</span> 
				<else />
					<span class="li2 white">{$k}</span> 
				</if>
	        
	        <a href="__APP__/ProductDetail/index/id/{$vo['id']}" target="_blank" ><img class="p2 lineBorder" width="54" height="54" src="__PUBLIC__/uploadfiles/files/common/{$vo['imageurl_small']}"/></a> 
	        <span><a href="__APP__/ProductDetail/index/id/{$vo['id']}" target="_blank" class="green">{$vo['name']}</a><br/><b class="red">￥{$vo['local_price']}</b></span> </li>        
         </volist>
      </ul>
    </div>
  </div>

<div class="news-box mT10">
    <h4><span class="orange">销售排行</span></h4>
		<div class="p10">
		      <ul class="sale-top clear">
		      	<volist id="vo" name="salesamountList" key="k">	
		      		        <li>
		      		        <if condition="($k eq 1)">
							<span class="li1 white">1</span> 
						<else />
							<span class="li2 white">{$k}</span> 
						</if>
							<a href="__APP__/ProductDetail/index/id/{$vo['id']}" target="_blank"> <img src="__PUBLIC__/uploadfiles/files/common/{$vo['imageurl_small']}" class="p2 lineBorder" width="54" height="54" /></a> <span><a href="__APP__/ProductDetail/index/id/{$vo['id']}" class="green">{$vo['name']}</a> <br/>
		          	<b class="red">￥{$vo['local_price']}</b></span> </li>
		      	</volist>
		      </ul>
		    </div>
  </div>  
</div>

  
</div>






<include file="./Tpl/default/Index/footer.html" />

</body>
</html>
